#author: 金荣财
#dest: 数字统计

import random

x = []
for i in range(10):
    x.append(random.choice(range(1,20)))
print(x)
a = []
b = []

for y in x:
    if x.count(y) > 1:
        if y not in a:
            a.append(y)
    else:
        b.append(y)

print("Same Number = {}, count = {}".format(a, len(a)))
print("Diffence Number = {}, count = {}".format(b, len(b)))